package com.guodu.service;

import java.util.List;

import com.guodu.entity.PurchaseProductionPlan;
import com.guodu.entity.PurchaseproductionStatus;
import com.guodu.entity.Units;
import com.guodu.entity.UserInfo;
import com.guodu.vo.PurchaseProductionPlanQueryVo;
import com.guodu.vo.PurchaseProductionPlanVo;

public interface PurchaseProductionPlanService {
	PurchaseProductionPlanVo findAllMoney(PurchaseProductionPlanQueryVo purchaseProductionPlanQueryVo, Units units);
	
	void save(PurchaseProductionPlan purchaseProductionPlan);

	long findSizeByVo(PurchaseProductionPlanQueryVo purchaseProductionPlanQueryVo, Units units);

	void examine(PurchaseProductionPlanQueryVo purchaseProductionPlanQueryVo, Units units);
	
	List<PurchaseProductionPlanVo> findByVo(PurchaseProductionPlanQueryVo purchaseProductionPlanQueryVo, Units units, int curPage, int pageSize);

	PurchaseProductionPlan findById(String purchaseId);

	void update(PurchaseProductionPlan purchaseProductionPlan, Long status);

	List<PurchaseproductionStatus> findStatus(String purchaseId);

	void examine(String ids, String rs, String beforeStatus, Long status,
			UserInfo user);

	void delByIds(String[] delIds);

	List<PurchaseProductionPlan> findAllByVo(
			PurchaseProductionPlanQueryVo pppq, Units attribute);

}
